package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.Natatorium;

import java.util.List;

/**
 * 泳馆Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface INatatoriumService 
{
    /**
     * 查询泳馆
     * 
     * @param id 泳馆ID
     * @return 泳馆
     */
    public Natatorium selectNatatoriumById(Long id);

    /**
     * 查询泳馆列表
     * 
     * @param natatorium 泳馆
     * @return 泳馆集合
     */
    public List<Natatorium> selectNatatoriumList(Natatorium natatorium);

    /**
     * 新增泳馆
     * 
     * @param natatorium 泳馆
     * @return 结果
     */
    public int insertNatatorium(Natatorium natatorium);

    /**
     * 修改泳馆
     * 
     * @param natatorium 泳馆
     * @return 结果
     */
    public int updateNatatorium(Natatorium natatorium);

    /**
     * 批量删除泳馆
     * 
     * @param ids 需要删除的泳馆ID
     * @return 结果
     */
    public int deleteNatatoriumByIds(Long[] ids);

    /**
     * 删除泳馆信息
     * 
     * @param id 泳馆ID
     * @return 结果
     */
    public int deleteNatatoriumById(Long id);
}
